import { defineStore } from 'pinia'
import api from '../../api/tInfoTextContent'
export default defineStore('store', {
  actions: {
    //查询题目列表
    async getContentList(subjectId: number, level: number) {
      const { data, code } = await api.listAll(subjectId, level)
      return { data, code }
    }
  }
})
